package entity;

/**
 * �ӵ�
 * @author lijia
 *
 */
public class Bullet extends Client {

	public static final int Round = 5;
	private static final long serialVersionUID = 6264349918978641794L;

	//位置
	private Position position;
	private Direction dir;
	private MoveSpeed speed = new MoveSpeed(4, 1);
	//是否使用
	private boolean isUsed;

	public Bullet() {
		super();
		setObjType("bullet");
	}
	
	public Bullet(Position position) {
		this.position = position;
	}

	public boolean isUsed() {
		return isUsed;
	}

	public void setUsed(boolean isUsed) {
		this.isUsed = isUsed;
	}

	public Position getPosition() {
		return position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public MoveSpeed getSpeed() {
		return speed;
	}

	public void setSpeed(MoveSpeed speed) {
		this.speed = speed;
	}

	public Direction getDir() {
		return dir;
	}

	public void setDir(Direction dir) {
		this.dir = dir;
	}
	
	
	
}
